package org.mozhu.mboot.core.json.jackson.jdk;

import java.util.Date;

import com.fasterxml.jackson.databind.module.SimpleModule;
import org.mozhu.mboot.core.json.jackson.jdk.deser.DateDeserializer;
import org.mozhu.mboot.core.json.jackson.jdk.ser.DateSerializer;

public class JdkDateModule extends SimpleModule {

	private static final long serialVersionUID = -5730327988412986421L;

	public JdkDateModule() {
		addDeserializer(Date.class, new DateDeserializer());
		addSerializer(Date.class, new DateSerializer());
	}
}
